{include file="header"}
<!-- 顶部开始 -->
<div class="container">
    <div class="logo">
        <a href="{:url('index/index')}">{:lang("system")}</a></div>
    <div class="left_open">
        <a><i title="{:lang("leftmenu")}" class="iconfont">&#xe699;</i></a>
    </div>
    <ul class="layui-nav left fast-add" lay-filter="">

    </ul>

    <ul class="layui-nav right" lay-filter="">
        <li class="layui-nav-item">
            <a href="javascript:;">{$user.name}</a>
            <dl class="layui-nav-child">
                <dd>
                    <a href="{:url('index/logout')}">{:lang("logout")}</a>
                </dd>
            </dl>
        </li>

    </ul>

</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
    <div id="side-nav">
        <ul id="nav">
            {volist name="menus" id="item"}
            <li>
                {if count($item['childs'])>=1}

                <a href="javascript:;">
                    <i class="iconfont left-nav-li" lay-tips="{$item.name}"></i>
                    <cite>{$item.name}</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                <ul class="sub-menu">
                    {volist name="$item.childs" id="val"}
                    <li>
                        <a onclick="xadmin.add_tab('{$val.name}','{:url($val["path"])}')">
                        <i class="iconfont">&#xe6a7;</i>
                        <cite>{$val.name}</cite></a>
                    </li>
                    {/volist}
                </ul>
                {else}
                <a href="javascript:;" onclick="xadmin.add_tab('{$item.name}','{:url($item["path"])}')">
                    <i class="iconfont left-nav-li" lay-tips="{$item.name}"></i>
                    <cite>{$item.name}</cite>
                    <i class="iconfont nav_right">&#xe697;</i>
                </a>
                {/if}
            </li>
            {/volist}

        </ul>
    </div>
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">
    <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
        <ul class="layui-tab-title">
            <li class="home">
                <i class="layui-icon">&#xe68e;</i>{:lang("home")}</li></ul>
        <div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
            <dl>
                <dd data-type="this">{:lang("close")}{:lang("this")}</dd>
                <dd data-type="other">{:lang("close")}{:lang("other")}</dd>
                <dd data-type="all">{:lang("close")}{:lang("all")}</dd></dl>
        </div>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <iframe src='{:url("index/welcome")}' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
            </div>
        </div>
        <div id="tab_show"></div>
    </div>
</div>
<div class="page-content-bg"></div>
<style id="theme_style"></style>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->

{include file="footer"}